Current Location: Home> Function Categories> is_finite

is_finite

Determine whether it is a finite value
Name:is_finite
Category:math
Programming Language:php
One-line Description:Determine whether it is a finite value.

Definition and usage

is_finite() function determines whether it is a finite value.

Example

 <?php
echo is_finite ( 2 ) ;
echo is_finite ( log ( 0 ) ) ;
echo is_finite ( 2000 ) ;
?>

Try it yourself

grammar

 is_finite ( x )
parameter describe
x Required. Specify the value to be checked.

illustrate

Return true if x is a legal finite value in the range allowed by PHP floating point numbers on the native platform.

Similar Functions
Popular Articles